#include "LowerAngleSimple.h"

LowerAngleSimple::LowerAngleSimple() {
	// Use requires() here to declare subsystem dependencies
	Requires(Robot::shooterElevator);
}

// Called just before this Command runs the first time
void LowerAngleSimple::Initialize() {

}

// Called repeatedly when this Command is scheduled to run
void LowerAngleSimple::Execute() {
	Robot::shooterElevator->Lower(0.3);
}

// Make this return true when this Command no longer needs to run execute()
bool LowerAngleSimple::IsFinished() {
	return false;
}

// Called once after isFinished returns true
void LowerAngleSimple::End() {
	Robot::shooterElevator->elevatorMotor->Set(0);
}

// Called when another command which requires one or more of the same
// subsystems is scheduled to run
void LowerAngleSimple::Interrupted() {
	Robot::shooterElevator->elevatorMotor->Set(0);
}
